import request from '@/utils/request'

// 区域资产分页
export function getList(params) {
  return request({
    url: '/management/administrative/areaProperty/selectPage',
    method: 'POST',
    params
  })
}

// 区域资产添加
export function insertAreaProperty(data) {
  return request({
    url: '/management/administrative/areaProperty/insert',
    method: 'POST',
    data
  })
}

// 区域资产修改查询
export function selectAreaProperty(params) {
  return request({
    url: '/management/administrative/areaProperty/findId',
    method: 'POST',
    params
  })
}

// 区域资产删除
export function delAreaProperty(data) {
  return request({
    url: '/management/administrative/areaProperty/del',
    method: 'post',
    data
  })
}

// 区域资产修改
export function updateAreaProperty(data) {
  return request({
    url: '/management/administrative/areaProperty/update',
    method: 'post',
    data
  })
}

// 区域资产编号List
export function selectPropertyNo(params) {
  return request({
    url: '/management/administrative/assetDetails/selectPropertyNo',
    method: 'post',
    params
  })
}
